﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HeadFirst._04.Factory
{
    public abstract class Pizza
    {
        public string Name { get; set; }
        public string Dough { get; set; }
        public string Sauce { get; set; }
        public List<object> toppings = new List<object>();
        internal void Prepare()
        {
            Console.WriteLine($"Preparing{Name}");
            Console.WriteLine("Tossing dough...");
            Console.WriteLine("Adding sauce...");
            Console.WriteLine("Adding toppings:");
            foreach (var item in toppings) 
            {
                Console.WriteLine(" "+item);
            }

        }

        internal void Bake()
        {
            Console.WriteLine("Bake for 25 minutes at 350");
        }

        internal void Cut()
        {
            Console.WriteLine("Cutting the pizza into diagonal slices");
        }

        internal void Box()
        {
            Console.WriteLine("Place pizza in official pizzaStore box");
        }

    }
}
